let app = getApp()
Component({
  properties: {
    title: {
      type: String,
      value: '',
    },
    listData:{
      type:Array,
      value:[
        {
          img:'',
          title:'标题',
          price:'3000'
        },
        {
          img: '',
          title: '标题',
          price:'9000'
        },
        {
          img: '',
          title: '标题',
          price: '9000'
        },
        {
          img: '',
          title: '标题',
          price: '9000'
        },
        {
          img: '',
          title: '标题',
          price: '9000'
        },
        {
          img: '',
          title: '标题',
          price: '9000'
        },
      ]
    },
    api:{
      type:String,
      value:''
    }
  },
  methods: {
    routerGo: function (e) {
      app.routerGo(e)
    }
  }
})